package com.yun.zf.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.zf.common.admin.domain.ZfDeptCommunity;
import com.yun.zf.common.admin.dto.community.AgentInfoDto;

import java.util.List;

/**
 * <p>
 * 三级门店与小区关系表 服务类
 * </p>
 *
 * @author cj
 * @since 2021-05-26
 */
public interface ZfDeptCommunityService extends IService<ZfDeptCommunity> {

    public List<Long> getCommunitys(Long deptId);

    /**
     * 维护门店与小区关系
     * @param deptCommunity
     * @return
     */
    int  addDeptCommunity(ZfDeptCommunity deptCommunity);


    List<AgentInfoDto> getAgentInfo(Long communityId);
}
